package com.gm.cards.domain;

import java.util.ArrayList;
import java.util.List;

public class Player {

    private List<Card> cards;

    private int playerNumber;

    private int playerPosition;

    public Player(int playerNumber, Deck deck) {
	this.playerNumber = playerNumber;
	this.cards = new ArrayList<Card>();
	for (int i = 0; i < 3; i++) {
	    this.cards.add(deck.getRandomCard());
	}
    }

    public List<Card> getCards() {
	return cards;
    }

    public void setCards(List<Card> cards) {
	this.cards = cards;
    }

    public int getPlayerNumber() {
	return playerNumber;
    }

    public void setPlayerNumber(int playerNumber) {
	this.playerNumber = playerNumber;
    }

    public int getPlayerPosition() {
	return playerPosition;
    }

    public void setPlayerPosition(int playerPosition) {
	this.playerPosition = playerPosition;
    }

}
